package com.nimitz.pollution.mapper;

import com.nimitz.pollution.domain.Pollution;

import java.util.List;

public interface PollutionMapper {

    List<Pollution> getPollutionsForPagination(Pollution pollution);

    int addPollution(Pollution pollution);

    Pollution selectPollutionId(Long id);


    // 修改公告
    int updatePollution(Pollution pollution);

    // 删除公告
    int deletePollution(Long id);
}
